# My NixOS Configuration

* NixOS build
```sh
sudo nixos-rebuild switch --flake .#wsl
```

* Run GC
```sh
nix-store --gc
```

## Profiles (Home Manager)

* Home Manager build
```sh
home-manager switch --flake .#server
```

| Program                   | Server                                            |
| ------------------------- | ------------------------------------------------- |
| Command line shell        | [fish](https://github.com/fish-shell/fish-shell)  |
| Version control system    | [git](https://github.com/git/git)                 |
| Nix language server       | [nixd](https://github.com/nix-community/nixd)     |
| Env dir manager           | [direnv](https://direnv.net/)                     |

## Templates

* Rust
```sh
nix flake init -t github:Falldot/dotfiles-nixos#rust
```

* Java
```sh
nix flake init -t github:Falldot/dotfiles-nixos#java
```